package com.demo.mapper;

import com.demo.po.GroupPo;

import java.sql.SQLException;
import java.util.List;

/**
 * GroupMapper.java
 **/

public interface GroupMapper extends ISqlMapper {

    public int countGroups(GroupPo cond) throws SQLException;

    public List<GroupPo> findGroupsByPage(GroupPo cond) throws SQLException;

    public List<GroupPo> findAllGroups(GroupPo cond) throws SQLException;

    public GroupPo getGroup(Integer groupid) throws SQLException;

    public Integer addGroup(GroupPo obj) throws SQLException;

    public int updateGroup(GroupPo obj) throws SQLException;

    public int deleteGroup(Integer groupid) throws SQLException;

}
